package com.eva.dao.cms.model;

import com.eva.framework.mp.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

@Data
@Accessors(chain = true)
@SuperBuilder
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("模板")
@TableName("`cms_template`")
public class CmsTemplate extends BaseModel {

    @TableField("`name`")
    @ApiModelProperty(value="模板名称")
    private String name;

    @TableField("`path`")
    @ApiModelProperty(value="模板路径")
    private String path;

    @TableField("`access_uri`")
    @ApiModelProperty(value="模板路径")
    private String accessUri;

    @TableField("`preset_data_codes`")
    @ApiModelProperty(value="预设数据编码")
    private String presetDataCodes;

    @TableField("`remark`")
    @ApiModelProperty(value="备注")
    private String remark;

}
